package com.gxa.service;


import com.gxa.entity.Campus;
import com.gxa.entity.Department;
import com.gxa.vo.DepartmentVo;

import java.util.List;

public interface DepartmentService {
    List<DepartmentVo> queryAll();

    List<DepartmentVo> queryAll1(String name);

    void insertDepartment(Department department);

    List<Campus> queryCampus();

    List<DepartmentVo> queryAll2(DepartmentVo departmentVo);

    Integer queryId(DepartmentVo departmentVo);

    void updateDepartment(Department department);

    Integer queryCampusId(String name);

    void deleteById(DepartmentVo departmentVo);
}
